package rlyy.framework.netty.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.annotation.*;

/**
 * @author xuguoliang@rlyy.com
 * @date 2019/12/16 18:01
 * @description
 * @package ${PACKAGE}
 */

@Deprecated
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface NettyHandler {

    @AliasFor("path")
    String[] value() default {};

    String name() default "";

    RequestMethod[] method() default {};

    @AliasFor("value")
    String[] path() default {};


}
